package com.lecture.javamode.principle.ocp.before;

public enum NotificationEmergencyLevel {

    SEVERE(1,"严重"),
    URGENCY(2,"紧急"),
    NORMAL(3,"普通"),
    TRIVIAL(2,"无关紧要");

    private int id;
    private String msg;

    private NotificationEmergencyLevel(int id, String msg) {
        this.id = id;
        this.msg = msg;
    }

}
